<extend name="Layout:layout_dialog" />
<block name="body_before">    
    <script src="__SCRIPT__kindeditor-4.1.11/kindeditor-all-min.js" type="text/javascript"></script>
</block>
<block name="body_main">
    <form action="{:U('message_edit_save')}" method="post" class="xsui-form" style="width:680px;">
        <fieldset>
            <div class="xsui-form-field">
                <label>收件人：</label>
                <input type="text" name="to_user" placeholder="收件人,多个之间以英文逗号隔开" value="{$data.to_user}" required="required" size="59" />
            </div>
            <div class="xsui-form-field">
                <label>标题：</label>
                <input type="text" name="subject" value="{$data.subject}" placeholder="标题"  required="required" size="61" />
            </div>
            <div class="xsui-form-field">
                <label>定时发送：</label>
                <input type="text" name="create_time"  class="datetimepicker" value="{$data.create_time}" placeholder="定时发送" />
            </div>
            <div class="xsui-form-field">
                <label>内容：</label>
                <textarea name="body" class="pm-editor" placeholder="正文内容" style="min-height:300px;">{$data.body}</textarea>
            </div>
        </fieldset>
        <button type="submit" class="xsui-btn ui-state-default"><i class="fa fa-save"></i>保存</button>
        <button type="reset" class="xsui-btn ui-state-default">重置</button>
        <input type="hidden" name="id" value="{$data.id}"/>
    </form>
</block>